package com.test.test_rest.miner_pool.mapper.gen;

import com.test.test_rest.miner_pool.domain.MinerCommodity;
import com.test.test_rest.miner_pool.domain.gen.MinerCommodityCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SuperMinerCommodityMapper {
    long countByExample(MinerCommodityCriteria example);

    int deleteByExample(MinerCommodityCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(MinerCommodity record);

    int insertSelective(MinerCommodity record);

    List<MinerCommodity> selectByExampleWithBLOBs(MinerCommodityCriteria example);

    List<MinerCommodity> selectByExample(MinerCommodityCriteria example);

    MinerCommodity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MinerCommodity record, @Param("example") MinerCommodityCriteria example);

    int updateByExampleWithBLOBs(@Param("record") MinerCommodity record, @Param("example") MinerCommodityCriteria example);

    int updateByExample(@Param("record") MinerCommodity record, @Param("example") MinerCommodityCriteria example);

    int updateByPrimaryKeySelective(MinerCommodity record);

    int updateByPrimaryKeyWithBLOBs(MinerCommodity record);

    int updateByPrimaryKey(MinerCommodity record);
}